import QtQuick 2.0

Rectangle {
    id:button

    width: 100
    height: 50
    color: "red"

    Text {
        id: name
        text: qsTr("hello world")
    }

    MouseArea{
        anchors.fill: parent
        onClicked: {
            name.text = "yes, hello world"
        }
    }
}
